<html>
<head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    	<title>Form</title>

    	<link rel="stylesheet" type="text/css" href="style.css"/>
    	
<?php
include ("function.php");
extract($_POST);
$dude = addStudent();
?>

</head>
<body>

	<div id="container">
		<?php
			/*******Header*******/
			include("header.php");

		?>

	 <div id="wrapper">
            <div id="content">

		Welcome <?php echo $fname . " " . $lname . " (" . $gender . ")"; ?><br>
		We will contact you at  <?php echo $email; ?> <br> Thank You.
		<? echo "<br>$dude"; ?>

            </div>
        </div>

		<?php

			/***Side Navigation***/
			include("sidebar.php");

			/****Extra Content***/
			include("extra.php");

			/*******Footer*******/
			include("footer.php"); 
		?>
	</div>

</body>
</html>
